import request from '@/utils/request'

// 查询发票列表
export function listInvoice(query) {
  return request({
    url: '/plat/invoice/list',
    method: 'get',
    params: query
  })
}

// 上传发票
export function uploadInvoice(data) {
  return request({
    url: '/plat/invoice',
    method: 'put',
    data: data
  })
}
